package com.beyondhost.openapi.demo.ResponseModel;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class OpenApiResponseCommonModel<T> {

    @JsonIgnore
    public String getCode() {
        return Code;
    }
    @JsonIgnore
    public void setCode(String code) {
        Code = code;
    }
    @JsonIgnore
    public String getMessage() {
        return Message;
    }
    @JsonIgnore
    public void setMessage(String message) {
        Message = message;
    }
    @JsonIgnore
    public String getSubCode() {
        return SubCode;
    }
    @JsonIgnore
    public void setSubCode(String subCode) {
        SubCode = subCode;
    }
    @JsonIgnore
    public String getSubMessage() {
        return SubMessage;
    }
    @JsonIgnore
    public void setSubMessage(String subMessage) {
        SubMessage = subMessage;
    }
    @JsonIgnore
    public List<T> getData() {
        return Data;
    }
    @JsonIgnore
    public void setData(List<T> data) {
        Data = data;
    }
    @JsonProperty
    public String Code;
    @JsonProperty
    public String Message;
    @JsonProperty
    public String SubCode;
    @JsonProperty
    public String SubMessage;
    @JsonProperty
    public List<T> Data;
}
